<template>
  <div class="app-container">
    <div class="page-filter mb10 fl">
      <el-row>
        <el-col :span="24">
          <el-tabs v-model="active" type="card" @tab-click="handleTabs">
            <el-tab-pane label="订单管理" name="1" />
            <!-- <el-tab-pane label="项目合同" name="2"></el-tab-pane>
            <el-tab-pane label="项目预算" name="3"></el-tab-pane>
            <el-tab-pane label="项目请款" name="4"></el-tab-pane>
            <el-tab-pane label="项目回款" name="5"></el-tab-pane> -->
            <el-tab-pane label="项目发票" name="6" />
          </el-tabs>
        </el-col>
        <el-col v-if="active === '1'" :span="24">
          <Order :info="info" />
        </el-col>
        <!-- <el-col v-if="active === '2'" :span="24">
          <Contract :info="info" />
        </el-col>
        <el-col v-if="active === '3'" :span="24">
          <Budget :info="info" />
        </el-col>
        <el-col v-if="active === '4'" :span="24">
          <Funds :info="info" />
        </el-col>
        <el-col v-if="active === '5'" :span="24">
          <Xshk :info="info" />
        </el-col> -->
        <el-col v-if="active === '6'" :span="24">
          <Invoice :info="info" />
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
import Order from './components/order/order'
// import Contract from './components/contract/contract'
// import Budget from './components/budget/budget'
// import Funds from './components/funds/funds'
// import Xshk from './components/xshk/xshk'
import Invoice from './components/invoice/invoice'

export default {
  name: '',
  components: { Order, Invoice },
  inject: ['app'],
  data() {
    return {
      active: '1',
      info: {}
    }
  },
  created() {
  },
  methods: {
    handleTabs(e) {
    }
  }
}
</script>
